﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;

namespace VisionAppManager
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public static bool bExit = false;
        protected override void OnExit(ExitEventArgs e)
        {
            base.OnExit(e);
            // 停止后台线程或取消订阅事件等
            bExit = true;
        }
    }
}
